package com.xh.bussiness.tiku.model;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xh.core.model.SuperEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * <p>
 * 试题导入记录表
 * </p>
 *
 * @author JQM
 * @since 2019-07-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tiku_question_import_log")
public class QuestionImportLog extends SuperEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 文件名称
     */
    private String fileName;

    /**
     * 学科
     */
    private String subjectId;

    /**
     * 学科名称
     */
    private String subjectName;

    /**
     * 题目id集合，以逗号隔开
     */
    private String questionIds;

    /**
     * 失败原因
     */
    private String failReason;

    /**
     * 解析状态：0->解析中；1->解析失败；2->解析成功；3->导入失败；4-> 导入成功
     */
    private Integer status;

    /**
     * 龙文校区id
     */
    private Integer schoolId;

    /**
     * 文件路径
     */
    private String filePath;

    /**
     * 试卷id
     */
    @TableField(value = "paper_id",strategy = FieldStrategy.IGNORED)
    private String paperId;

}
